package fast.mvc;

import java.util.Calendar;
import java.util.GregorianCalendar;

public class Util {
	public static String getTime(){
		Calendar calendar = new GregorianCalendar();
		int min = calendar.get(Calendar.MINUTE);
		String min2 = ""+min;
		if(min < 10) min2 = "0"+min;
		int hour = calendar.get(Calendar.HOUR_OF_DAY);
		int sec = calendar.get(Calendar.SECOND);
		String sec2 = ""+sec;
		if(sec < 10) sec2 = "0"+sec;
		return "["+hour+":"+min2+":"+sec2+"] ";
	}
}
